package com.zwhu.nt;

import java.io.Serializable;

/**
 * 通讯录人员信息类
 * @author ryan
 *@version 2
 *
 */

class Note implements Serializable{
	/**编号 */
	public String num;
	/**名字 */
	public String name;
	/**邮编 */
	public String zip;
	/**地址 */
	public String address;
	/**电话 */
	public String telephone;
	/**性别 */
	public String sex;
	/**邮箱 */
	public String email;
	
	/**
	 * @return 返回编号
	 * 
	 */
	public String getNum() {
		return num;
	}

	/**
	 * @param num 设置编号
	 * 
	 */
	public void setNum(String num) {
		this.num = num;
	}

	/**
	 * @return 返回名字
	 * 
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name 设置名字
	 * 
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * @return 返回邮编
	 * 
	 */
	public String getZip() {
		return zip;
	}

	/**
	 * @param zip 设置邮编
	 * 
	 */
	public void setZip(String zip) {
		this.zip = zip;
	}

	/**
	 * @return 返回地址
	 * 
	 */
	public String getAddress() {
		return address;
	}

	/**
	 * @param address 设置地址
	 * 
	 */
	public void setAddress(String address) {
		this.address = address;
	}

	/**
	 * @return 返回电话
	 * 
	 */
	public String getTelephone() {
		return telephone;
	}

	/**
	 * @param telephone 设置电话
	 * 
	 */
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

	/**
	 * @return 返回性别
	 * 
	 */
	public String getSex() {
		return sex;
	}

	/**
	 * @param sex 设置性别
	 * 
	 */
	public void setSex(String sex) {
		this.sex = sex;
	}

	/**
	 * @return 返回email
	 * 
	 */
	public String getEmail() {
		return email;
	}

	/**
	 * @param email 设置email
	 * 
	 */
	public void setEmail(String email) {
		this.email = email;
	}

	@Override
	public String toString() {
		return  num + "," + name + "," + zip + "," + address + "," + telephone + ","
				+ sex + "," + email ;
	}

	public Note(){}
}
